package com.flyco.modules.oms.service;

import com.flyco.modules.oms.entity.OmsOrderBlackArea;
import com.flyco.modules.oms.entity.OmsOrderBlack;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 禁止下单表
 * @Author: flyco
 * @Date:   2021-01-14
 * @Version: V1.0
 */
public interface IOmsOrderBlackService extends IService<OmsOrderBlack> {

	/**
	 * 添加一对多
	 * 
	 */
	public void saveMain(OmsOrderBlack omsOrderBlack,List<OmsOrderBlackArea> omsOrderBlackAreaList) ;
	
	/**
	 * 修改一对多
	 * 
	 */
	public void updateMain(OmsOrderBlack omsOrderBlack,List<OmsOrderBlackArea> omsOrderBlackAreaList);
	
	/**
	 * 删除一对多
	 */
	public void delMain (Long id);
	
	/**
	 * 批量删除一对多
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);
	
}
